<template xmlns:v-on="http://www.w3.org/1999/xhtml">
  <div class="content">
    <div class="content-center">
      <!-- 头部 -->
      <div class="main-title">
        简历库-储备人才
      </div>
      <!--筛选-->
      <div class="main-search">
      </div>
      <!--列表-->
      <div class="main-list">
      </div>
    </div>
  </div>
</template>
<script>
import { mapActions } from "vuex";
export default {
  components: {},
  data() {
    return {};
  },
  // 过滤
  filters: {
    timeFun: function(val) {
      var now = new Date(val);
      var year = now.getYear() - 100;
      var month = now.getMonth() + 1;
      month = month > 9 ? month : "0 " + month;
      var date = now.getDate();
      date = date > 9 ? date : "0 " + date;
      var hour = now.getHours();
      hour = hour > 9 ? hour : "0 " + hour;
      var minute = now.getMinutes();
      minute = minute > 9 ? minute : "0 " + minute;
      return (
        "20 " + year + "- " + month + "- " + date + " " + hour + ": " + minute
      );
    }
  },
  // 模块新建时
  created: function() {
    var self = this;
  },
  // 计算属性
  mounted() {},
  // 事件处理
  methods: {
    // 获取列表
    listFun() {
      var self = this;
      self
        .getstoreclassAttributefindPage({})
        .then(data => {
          if (data.code == 200) {
          } else {
          }
        })
        .catch(msg => {});
    },
    ...mapActions(["getstoreclassAttributefindPage"])
  },
  // 监视
  watch: {}
};
</script>
<style scoped>
.main-title {
  width: 100%;
  height: 50px;
  border: 1px solid red;
}

.main-search {
  width: 100%;
  margin-top: 20px;
  min-height: 50px;
  border: 1px solid red;
}

.main-list {
  width: 100%;
  margin-top: 20px;
  min-height: 350px;
  border: 1px solid red;
}

.content {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.content-center {
  overflow: hidden;
  width: calc(100% - 20px);
  margin-left: 10px;
}
</style>